<?php echo $header; ?>
<?php if ($success) { ?>
<div class="success"><?php echo $success; ?></div>
<?php } ?>
<?php if ($error_warning) { ?>
<div class="warning"><?php echo $error_warning; ?></div>
<?php } ?>
<div class="mef_mainbody">
<div class="mef_container">
<div class="mef_leftbody flexblewidth">
<div class="newsworthy_wp">

<div class="vertical_menu">
<?php echo $column_left; ?>
<?php echo $column_right; ?>
</div>
<div class="leftpart fuliedwidth">
<div id="content"><?php echo $content_top; ?>
 
  <h2><?php echo $heading_title; ?></h2>
  <h3 class="regis_heading"><?php echo $text_address_book; ?></h3>
  <?php foreach ($addresses as $result) { ?>
  <div class="content">
    <div class="addresspart">
        <p style="text-align: right;">
            <a href="<?php echo $result['update']; ?>" class="add_edit"><?php echo $button_edit; ?></a> &nbsp; 
            <a href="<?php echo $result['delete']; ?>" class="add_edit"><?php echo $button_delete; ?></a>
		</p>
        <p><?php echo $result['address']; ?></p>


    </div>
  </div>
  <?php } ?>
  <div class="buttons" style="border:0px;">
    <!--<div class="left"><a href="<?php echo $back; ?>" class="button color" style="margin-top:0px;"><?php echo $button_back; ?></a></div>-->
    <div class="right"><a href="<?php echo $insert; ?>" class="button color" style="margin-top:0px;"><?php echo $button_new_address; ?></a></div>
  </div>
  <?php echo $content_bottom; ?></div>
  </div>
  </div>
  </div>
  </div>
<?php echo $footer; ?>